package com.caipin.domain.web;

/**
 * @Author: zhunian0322@163.com
 * @DateTime: 2021-10-06 11:46
 * @Description: TODO
 */
public class AbnormalResultsClassroom {
    private String classroomName;

    private List<Event> eventList;

    public com.caipin.domain.web.AbnormalResultsClassroom setClassroomName(String classroomName) {
        this.classroomName = classroomName;
        return this;
    }

    public com.caipin.domain.web.AbnormalResultsClassroom setEventList(List<Event> eventList) {
        this.eventList = eventList;
        return this;
    }

    public boolean equals(Object o) {
        if (o == this)
            return true;
        if (!(o instanceof com.caipin.domain.web.AbnormalResultsClassroom))
            return false;
        com.caipin.domain.web.AbnormalResultsClassroom other = (com.caipin.domain.web.AbnormalResultsClassroom)o;
        if (!other.canEqual(this))
            return false;
        Object this$classroomName = getClassroomName(), other$classroomName = other.getClassroomName();
        if ((this$classroomName == null) ? (other$classroomName != null) : !this$classroomName.equals(other$classroomName))
            return false;
        Object<Event> this$eventList = (Object<Event>)getEventList(), other$eventList = (Object<Event>)other.getEventList();
        return !((this$eventList == null) ? (other$eventList != null) : !this$eventList.equals(other$eventList));
    }

    protected boolean canEqual(Object other) {
        return other instanceof com.caipin.domain.web.AbnormalResultsClassroom;
    }

    public int hashCode() {
        int PRIME = 59;
        result = 1;
        Object $classroomName = getClassroomName();
        result = result * 59 + (($classroomName == null) ? 43 : $classroomName.hashCode());
        Object<Event> $eventList = (Object<Event>)getEventList();
        return result * 59 + (($eventList == null) ? 43 : $eventList.hashCode());
    }

    public String toString() {
        return "AbnormalResultsClassroom(classroomName=" + getClassroomName() + ", eventList=" + getEventList() + ")";
    }

    public AbnormalResultsClassroom(String classroomName, List<Event> eventList) {
        this.classroomName = classroomName;
        this.eventList = eventList;
    }

    public AbnormalResultsClassroom() {}

    public String getClassroomName() {
        return this.classroomName;
    }

    public List<Event> getEventList() {
        return this.eventList;
    }
}

